using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace BIUtilities.Publish.PasDataObjects
{
    /// <summary>
    /// Container class for the PAS Book elements and data retrieved from the PAS webservice
    /// See the \PasOutput folder for what the data looks like.
    /// </summary>
    [Serializable()]
    public class Book
    {
        private string _caption;
        private Guid _id;
        private string _description;
        private string _type;
        private string _linkUrl;

        /// <summary>
        /// PAS Report caption
        /// </summary>
        [XmlAttribute()]
        public string Caption
        {
            get { return _caption; }
            set { _caption = value; }
        }

        /// <summary>
        /// PAS Report Description
        /// </summary>
        [XmlAttribute()]
        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        /// <summary>
        /// PAS Report Doc Type
        /// </summary>
        [XmlAttribute()]
        public string DocType
        {
            get { return _type; }
            set { _type = value; }
        }

        /// <summary>
        /// PAS Report LinkURL
        /// </summary>
        [XmlAttribute()]
        public string LinkURL
        {
            get { return _linkUrl; }
            set { _linkUrl = value; }
        }

        /// <summary>
        /// PAS Report ID
        /// </summary>
        [XmlAttribute()]
        public Guid ID
        {
            get { return _id; }
            set { _id = value; }
        }
    }
}
